/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.service;

import java.util.Collection;
import java.util.List;

import com.xy.biz.ts.domain.bo.ExaminationRecordQuestionBO;
import com.xy.biz.ts.domain.query.ExaminationRecordQuestionQuery;
import com.xy.lang.domain.Result;

/**
 *
 *
 * @author yzh
 * @date 2021-4-6
 */
public interface ExaminationRecordQuestionService {

	/**
	 * 保存
	 *
	 * @param examinationRecordQuestionBO
	 */
	Result<?> saveExaminationRecordQuestion(ExaminationRecordQuestionBO examinationRecordQuestionBO);

	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	Result<?> saveAllExaminationRecordQuestion(Collection<ExaminationRecordQuestionBO> collection);

	/**
	 * 更新
	 *
	 * @param examinationRecordQuestionBO
	 */
	Result<?> updateExaminationRecordQuestion(ExaminationRecordQuestionBO examinationRecordQuestionBO);

	/**
	 * 删除
	 *
	 * @param examinationRecordQuestionId
	 */
	Result<?> deleteExaminationRecordQuestion(Long examinationRecordQuestionId);

	/**
	 * 查找一个
	 *
	 * @param examinationRecordQuestionId
	 * @return
	 */
	ExaminationRecordQuestionBO getExaminationRecordQuestion(Long examinationRecordQuestionId);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 */
	List<ExaminationRecordQuestionBO> listExaminationRecordQuestionById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param query 查找条件
	 */
	List<ExaminationRecordQuestionBO> listExaminationRecordQuestion(ExaminationRecordQuestionQuery query);

	/**
	 * 统计个数
	 *
	 * @param query 查找条件
	 */
	int countExaminationRecordQuestion(ExaminationRecordQuestionQuery query);

}
